module.exports = {
	port: 8080,
	session: {
		secret: 'layui',
		name: 'shinwen',
		cookie: {
			maxAge: 604800000
		},
		resave: false,
		saveUninitialized: true
	},
	mysql: {
		database: 'fictiondb',
		uname: 'root',
		upass: 'v123456',
		opts: {
			host: '127.0.0.1',
			port: 3306,
			dialect: 'mysql',
			pool: {
				idle: 10000,
				min: 20,
				max: 30
			},
			//控制台不显示信息
			logging: false
		}
	},
	secret: 'SHINWEN_XS'
};